﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using YmtAuth.AppService;
using YmtAuth.Web.V2.GlobalErrorHandle;
using YmtSystem.CrossCutting;

namespace YmtAuth.Web.V2.Controllers
{
    [CustomGlobalErrorHandle]
    public class NewUserNoticeController : Controller
    {
        //[HttpPost]
        //public ActionResult Handle(Dictionary<string, object> uvl)
        //{
        //    return Json(new { r = uvl });
        //    //var appService = LocalServiceLocator.GetService<INewUserNotice>();
        //    //appService.HandleUserRegisterNotice(ukey, pas, uvl);
        //    //return View();
        //}

        [HttpPost]

        public ActionResult Handle(Dictionary<string, object> uvl)
        {
            var v = HttpContext.Request.Form;

            return Json(new { m="hhh",rd=v,r = uvl }, JsonRequestBehavior.AllowGet);
            //var appService = LocalServiceLocator.GetService<INewUserNotice>();
            //appService.HandleUserRegisterNotice(ukey, pas, uvl);
            //return View();
        }
    }

    public class U
    {
 
    }
}
